Mollie\WooCommerce\Settings\Settings C

Total Complexity 111
Dependencies 10
Dependents 15
Total lines 552
Lines of code 373
Logical lines of code 231
Comment lines 137
Methods 32
Properties 7

Methods 32

Method Rating Maintainability Complexity Lines of code
processAdminOptionCustomLogo()
A
50 10 25
validateUploadedFile()
A
46 8 36
processAdminOptionSurcharge()
A
55 8 18
extractValidLanguageCode()
S
55 7 20
adminOptions()
S
52 6 22
mollieWooCommerceMerchantProfileId()
S
56 6 19
updateMerchantIdOnApiKeyChanges()
S
56 6 16
getApiKey()
S
61 7 10
browserLanguage()
S
55 5 18
processUploadedFile()
S
55 5 17
multiSelectCountry()
S
46 3 45
processSettings()
S
59 4 14
getPluginStatus()
S
55 3 17
getPaymentLocale()
S
66 4 8
getCurrentLocale()
S
67 4 7
isOrderApiSetting()
S
73 3 4
getPaymentConfirmationCheckTime()
S
63 2 11
getSettingId()
S
64 2 9
getOrderStatusCancelledPayments()
S
72 2 5
getPaymentLocaleSetting()
S
72 2 5
updateGatewaySettings()
S
74 2 4
isTestModeEnabled()
S
73 2 4
mollieWooCommerceMerchantProfile()
S
75 1 4
__construct()
S
65 1 9
updateMerchantIdAfterApiKeyChanges()
S
75 1 4
getLogsUrl()
S
80 1 3
isDebugEnabled()
S
78 1 3
cleanDb()
S
82 1 3
processAdminOptionCreditcardSelector()
S
81 1 3
generalFormFields()
S
75 1 4
getGlobalSettingsUrl()
S
82 1 3
shouldStoreCustomer()
S
78 1 3